<template >
  <div>
    <input type="text" :value="value" @input="changeInput">
  </div>
</template>
<script>
export default {
  name: 'my-input',
  props: ['value'],
  mounted() {
    // console.log(this.modelValue, 'modelValue')
  },
  methods: {
    changeInput(e) {
      this.$emit('update:value', e.target.value)
    }
  }
}
</script>
<style></style>